package cn.huixh.blindbox.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 三七
 */

@EnableAsync
@ServletComponentScan
@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = "cn.huixh.blindbox")
@MapperScan(basePackages = { "com.baomidou.mybatisplus.samples.quickstart.mapper", "cn.huixh.blindbox.mapper" })
public class BlindBoxApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlindBoxApplication.class, args);

    }

}
